package com.ruoyi.people.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.insensitive.PrivacyEncrypt;
import com.ruoyi.common.utils.insensitive.PrivacyTypeEnum;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 sys_student
 * 
 * @author ruoyi
 * @date 2022-03-26
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long studentId;

    /** 学生名称 */
    //@PrivacyEncrypt(type = PrivacyTypeEnum.NAME)
    @Excel(name = "学生名称")
    private String studentName;

    /** 身份证号 */
    //@PrivacyEncrypt(type = PrivacyTypeEnum.ID_CARD)
    @Excel(name = "身份证号")
    private String idCard;

    /** 性别(0男 1女 2未知) */
    @Excel(name = "性别(0男 1女 2未知)")
    private String sex;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNum;

    /** 民族 */
    @Excel(name = "民族")
    private String studentFolk;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 年龄 */
    @Excel(name = "年龄")
    private String studentAge;

    /** 专业 */
    @Excel(name = "专业")
    private String profession;

    /** 手机号码 */
    //@PrivacyEncrypt(type = PrivacyTypeEnum.PHONE)
    @Excel(name = "手机号码")
    private String phoneNum;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 宿舍 */
    @Excel(name = "宿舍")
    private String dormitory;



    /** 邮箱 */
    //@PrivacyEncrypt(type = PrivacyTypeEnum.EMAIL)
    @Excel(name = "邮箱")
    private String email;

    /** 现居住地址 */
    @Excel(name = "现居住地址")
    private String currentAddress;

    /** 所在班级 */
    @Excel(name = "所在班级")
    private String className;

    /** 所在学院 */
    @Excel(name = "所在学院")
    private String collegeName;

    /** 当日杭州健康码颜色(0绿 1黄 2红 3其他) */
    @Excel(name = "当日杭州健康码颜色(0绿 1黄 2红 3其他)")
    private String healthColor;

    /** 当日体温情况 */
    @Excel(name = "当日体温情况")
    private String temperature;

    /** 是否健康(0是 1否 2其他) */
    @Excel(name = "是否健康(0是 1否 2其他)")
    private String isHeathy;

    /** 是否为危险人群(0否 1是 2其他) */
    @Excel(name = "是否为危险人群(0否 1是 2其他)")
    private String isDanger;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    private Date createTime;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setStudentNum(String studentNum) 
    {
        this.studentNum = studentNum;
    }

    public String getStudentNum() 
    {
        return studentNum;
    }
    public void setStudentFolk(String studentFolk) 
    {
        this.studentFolk = studentFolk;
    }

    public String getStudentFolk() 
    {
        return studentFolk;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setStudentAge(String studentAge) 
    {
        this.studentAge = studentAge;
    }

    public String getStudentAge() 
    {
        return studentAge;
    }
    public void setProfession(String profession) 
    {
        this.profession = profession;
    }

    public String getProfession() 
    {
        return profession;
    }
    public void setPhoneNum(String phoneNum) 
    {
        this.phoneNum = phoneNum;
    }

    public String getPhoneNum() 
    {
        return phoneNum;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setDormitory(String dormitory) 
    {
        this.dormitory = dormitory;
    }

    public String getDormitory() 
    {
        return dormitory;
    }
    public void setCurrentAddress(String currentAddress) 
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress() 
    {
        return currentAddress;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }
    public void setHealthColor(String healthColor) 
    {
        this.healthColor = healthColor;
    }

    public String getHealthColor() 
    {
        return healthColor;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setIsHeathy(String isHeathy) 
    {
        this.isHeathy = isHeathy;
    }

    public String getIsHeathy() 
    {
        return isHeathy;
    }
    public void setIsDanger(String isDanger) 
    {
        this.isDanger = isDanger;
    }

    public String getIsDanger() 
    {
        return isDanger;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("idCard", getIdCard())
            .append("sex", getSex())
            .append("studentNum", getStudentNum())
            .append("studentFolk", getStudentFolk())
            .append("birthDate", getBirthDate())
            .append("nativePlace", getNativePlace())
            .append("studentAge", getStudentAge())
            .append("profession", getProfession())
            .append("phoneNum", getPhoneNum())
            .append("grade", getGrade())
            .append("dormitory", getDormitory())
            .append("currentAddress", getCurrentAddress())
            .append("className", getClassName())
            .append("collegeName", getCollegeName())
            .append("healthColor", getHealthColor())
            .append("temperature", getTemperature())
            .append("isHeathy", getIsHeathy())
            .append("isDanger", getIsDanger())
            .toString();
    }
}
